FROM centos:latest

MAINTAINER davidchan "cw0319@qq.com"

WORKDIR $GOPATH/src/gitee.com/239103/api4cmdb

ADD conf/app.conf $GOPATH/src/gitee.com/239103/api4cmdb/conf/app.conf

ADD api4cmdb $GOPATH/src/gitee.com/239103/api4cmdb/api4cmdb

EXPOSE 8081

ENTRYPOINT ["./api4cmdb"]
